package com.westar.core.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@Api("swagger注释入口跳转")
public class ApiDocController {
    @RequestMapping(value = "/",method = RequestMethod.GET)
    public String apiDoc(){
        return "redirect:swagger-ui.html";
    }
}
